<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JS运算符</title>
</head>
<body>
<script>
    console.log(3 > 10);
    // 会将字符转换成数字然后再比较
    console.log('3' > 10);
    console.log('3' > '10');
    console.log('3'.charCodeAt());
    console.log('10'.charCodeAt());
</script>
</body>
</html>